﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using PinCity.Models.Accounts;

namespace PinCity.Models.ViewModels
{
    public class UserEditViewModel
    {
        public UserEditViewModel() { }
        public UserEditViewModel(User user)
        {
            this.Login = user.Login;
            this.Email = user.Email;
            this.Password = user.Password;
        }
        public string Login { get; set; }
        public string Email { get; set; }
        public string Password { get; set; }
        public string PasswordRepeat { get; set; }
        public string ErrorMessage { get; set; }
    }
}